<f:view
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<ui:composition>
		<ui:decorate template="/facelets/template/mainTemplate.xhtml">
			<ui:define name="title">
				<h:outputText value="#{dictionaryBundle.flagList}"/>
			</ui:define>
			<ui:define name="center">
				<ui:decorate template="/facelets/template/centerTemplate.xhtml">
					<ui:define name="content">

						<a4j:form>
							<rich:panel styleClass="panelBox">
								<h:outputText value="#{personBundle.lastName}: " styleClass="requiredField"/>
								<h:outputText value="#{studentFlagBean.student.lastName}"/><br/>

								<h:outputText value="#{personBundle.firstName}: " styleClass="requiredField"/>
								<h:outputText value="#{studentFlagBean.student.firstName} "/><br/>

								<h:outputText value="#{personBundle.middleName}: " styleClass="requiredField"/>
								<h:outputText value="#{studentFlagBean.student.middleName} "/><br/>
								<br/>
								<br/>

								<ui:decorate template="/facelets/template/student/suggestionBox.xhtml">
									<ui:param name="actionBean" value="#{studentFlagBean}"/>
								</ui:decorate>
								<br/>
								<h:outputText value="#{commonBundle.comments}"/>
								<br/>
								<h:inputTextarea value="#{studentFlagBean.record.commentUserMark}"
												 id="roleDescription" cols="40"/>
								<br/>
								<br/>
								<h:panelGroup>
									<rich:spacer/>
									<rich:spacer/>
									<a4j:form>
										<a4j:commandButton id="butSave" value="#{commonBundle.save}"
														   action="#{studentFlagBean.save}"/>

										<a4j:commandButton id="butCancel" value="#{commonBundle.cancel}"
														   action="#{studentFlagBean.cancel}" immediate="true"/>
									</a4j:form>
								</h:panelGroup>
							</rich:panel>
						</a4j:form>

					</ui:define>
				</ui:decorate>
			</ui:define>
		</ui:decorate>
	</ui:composition>

</f:view>
